libDisplay
	parent_type = /libBase
	name = "libDisplay"
	numVerP = 0
	numVerM = 0
	numVerR = 0


	proc
		Display(information)
			//Parse arguments to determine proper display method

		DisplayQuery(DBQuery/query, target)
			if(!(query.Execute()))
				Core.Error.catchError("type=DB;source=Core Lib:mob.verb.query();error=Failed query;debug=SQL=[query.SQL()]")
				return
			var/html = {"
			<body><table border=1>"}
			var/header = 0
			while(query.NextRow())
				var/list/cols = query.GetRowData()
				if(!header)
					html += "<thead>"
					for(var/col in cols)
						html += "<th>[col]</th>"
					html += "</thead>"
					header = TRUE
				html += "<tr>"
				for(var/col in cols)
					html += "<td>[cols[col]]</td>"
				html += "</tr>"
			html += "</table></body>"

			target<<browse(html)